Package pl.wendigo.chrome.api.serviceworker

Contains DevTools Protocol ServiceWorker domain implementation accessible via ServiceWorkerDomain class.

Types

DeliverPushMessageRequest
Link copied to clipboard
data class DeliverPushMessageRequest(origin: String, registrationId: RegistrationID, data: String)
Represents request frame that can be used with ServiceWorker#deliverPushMessage operation call.
DispatchPeriodicSyncEventRequest
Link copied to clipboard
data class DispatchPeriodicSyncEventRequest(origin: String, registrationId: RegistrationID, tag: String)
Represents request frame that can be used with ServiceWorker#dispatchPeriodicSyncEvent operation call.
DispatchSyncEventRequest
Link copied to clipboard
data class DispatchSyncEventRequest(origin: String, registrationId: RegistrationID, tag: String, lastChance: Boolean)
Represents request frame that can be used with ServiceWorker#dispatchSyncEvent operation call.
InspectWorkerRequest
Link copied to clipboard
data class InspectWorkerRequest(versionId: String)
Represents request frame that can be used with ServiceWorker#inspectWorker operation call.
RegistrationID
Link copied to clipboard
typealias RegistrationID = String
ServiceWorkerDomain
Link copied to clipboard
class ServiceWorkerDomain : Domain
ServiceWorkerDomain represents ServiceWorker protocol domain request/response operations and events that can be captured.
ServiceWorkerErrorMessage
Link copied to clipboard
data class ServiceWorkerErrorMessage(errorMessage: String, registrationId: RegistrationID, versionId: String, sourceURL: String, lineNumber: Int, columnNumber: Int)
ServiceWorker error message.
ServiceWorkerRegistration
Link copied to clipboard
data class ServiceWorkerRegistration(registrationId: RegistrationID, scopeURL: String, isDeleted: Boolean)
ServiceWorker registration.
ServiceWorkerVersion
Link copied to clipboard
data class ServiceWorkerVersion(versionId: String, registrationId: RegistrationID, scriptURL: String, runningStatus: ServiceWorkerVersionRunningStatus, status: ServiceWorkerVersionStatus, scriptLastModified: Double?, scriptResponseTime: Double?, controlledClients: List<TargetID>?, targetId: TargetID?)
ServiceWorker version.
ServiceWorkerVersionStatus
Link copied to clipboard
enum ServiceWorkerVersionStatus : Enum<ServiceWorkerVersionStatus>
SetForceUpdateOnPageLoadRequest
Link copied to clipboard
data class SetForceUpdateOnPageLoadRequest(forceUpdateOnPageLoad: Boolean)
Represents request frame that can be used with ServiceWorker#setForceUpdateOnPageLoad operation call.
SkipWaitingRequest
Link copied to clipboard
data class SkipWaitingRequest(scopeURL: String)
Represents request frame that can be used with ServiceWorker#skipWaiting operation call.
StartWorkerRequest
Link copied to clipboard
data class StartWorkerRequest(scopeURL: String)
Represents request frame that can be used with ServiceWorker#startWorker operation call.
StopWorkerRequest
Link copied to clipboard
data class StopWorkerRequest(versionId: String)
Represents request frame that can be used with ServiceWorker#stopWorker operation call.
UnregisterRequest
Link copied to clipboard
data class UnregisterRequest(scopeURL: String)
Represents request frame that can be used with ServiceWorker#unregister operation call.
UpdateRegistrationRequest
Link copied to clipboard
data class UpdateRegistrationRequest(scopeURL: String)
Represents request frame that can be used with ServiceWorker#updateRegistration operation call.
WorkerErrorReportedEvent
Link copied to clipboard
data class WorkerErrorReportedEvent(errorMessage: ServiceWorkerErrorMessage) : Event
WorkerRegistrationUpdatedEvent
Link copied to clipboard
data class WorkerRegistrationUpdatedEvent(registrations: List<ServiceWorkerRegistration>) : Event
WorkerVersionUpdatedEvent
Link copied to clipboard
data class WorkerVersionUpdatedEvent(versions: List<ServiceWorkerVersion>) : Event